﻿@model ERCS.ViewModel.Patients.PatientVMs.PatientVM

<wt:form vm="@Model">
    <wt:row items-per-row="ItemsPerRowEnum.Two">
        <wt:textbox field="Entity.PatientName" />
        <wt:textbox field="Entity.IdNumber" />
        <wt:combobox field="Entity.Gender" />
        <wt:combobox field="Entity.Status" />
        <wt:datetime field="Entity.Birthday" />
        <wt:combobox field="ShengId" items="AllSheng" label-text="籍贯（省）" trigger-url="/BasicData/City/GetChildrenCity" link-field="ShiId" />
        <wt:combobox field="ShiId" items="AllShi" label-text="籍贯（市）" trigger-url="/BasicData/City/GetChildrenCity" link-field="Entity.LocationId" />
        <wt:combobox field="Entity.LocationId" items="AllQu" label-text="籍贯（区）" />
        <wt:combobox field="Entity.HospitalId" items="AllHospitals" />
        <wt:upload field="Entity.PhotoId" />
        <wt:checkbox field="SelectedVirusesIDs" items="AllVirusess" />
    </wt:row>
    <wt:hidden field="Entity.ID" />
    <wt:row align="AlignEnum.Right">
        <wt:submitbutton />
        <wt:closebutton />
    </wt:row>
</wt:form>